package model

type ExamTime struct {
	Id         int64  `gorm:"primaryKey;column:id"json:"id" `
	SchoolId   int64  `gorm:"column:school_id;default:0"json:"school_id"`
	Title      string `gorm:"column:title;default:''" json:"title"`
	SubTitle   string `gorm:"column:sub_title;default:''" json:"sub_title"`
	Kskm       string `gorm:"column:kskm;default:''" json:"kskm"`
	StuRange   string `gorm:"column:stu_range;default:''" json:"stu_range"`
	StuNumber  int64  `gorm:"column:stu_number;default:0"json:"stu_number"`
	StartTime  int64  `gorm:"column:start_time;default:0"json:"start_time"`
	EndTime    int64  `gorm:"column:end_time;default:0"json:"end_time"`
	TeaNumber  int64  `gorm:"column:tea_number;default:0"json:"tea_number"`
	Bz         int64  `gorm:"column:bz;default:0"json:"bz"`
	JzwId      string `gorm:"column:jzw_id;default:''"json:"jzw_id"`
	RoomId     string `gorm:"column:room_id;default:''"json:"room_id"`
	Pid        int64  `gorm:"column:pid;default:0"json:"pid"`
	ExamType   int    `gorm:"column:exam_type;default:0"json:"exam_type"`
	TestId     int64  `gorm:"column:test_id;default:0"json:"test_id"`
	OId        int64  `gorm:"column:o_id;default:0"json:"o_id"`
	IsApp      int    `gorm:"column:is_app;default:1"json:"is_app"`
	CreateTime int64  `gorm:"column:create_time;default:0" json:"create_time" `
	DeleteTime int64  `gorm:"column:delete_time;default:0" json:"delete_time" `
}

func (ExamTime) TableName() string {
	return "fd_exam_time"
}

type DeletedExamTime struct {
	Id         int64 `gorm:"primaryKey;column:id"json:"id" `
	DeleteTime int64 `gorm:"column:delete_time;default:0" json:"delete_time" `
}

func (DeletedExamTime) TableName() string {
	return "fd_exam_time"
}
